Trivial fix to bind implementation.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 11 Mar 2006 10:19:11 +0000 (11:19 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 11 Mar 2006 10:19:11 +0000 (11:19 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/web/unix.py

index c5df4b5ddd6aa1843130267af8b9d62ed1b0218d..8ec715c12faf19395b2faef5bfcaf737403fba9d 100644 (file)
@@ -39,7 +39,7 @@ created such that only the current user may access it."""
         os.makedirs(parent, stat.S_IRWXU)
 
     sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
-    sock.bind(self.path)
+    sock.bind(path)
     return sock